function showImage(Img) {
	var img = new Image();
	img.src = Img.src;
	width = img.width / 4;
	height = img.height / 4;
	Img.width = width;
	Img.height = height;
}

$(document).ready(function() {
		showImage($('#test'));
	}
);